package com.lmabbe.common.global.query;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;


/**
 * @author lmabbe
 * @data 2021/3/28 12:00
 */
@Data
public class PageQuery extends BaseQuery {

    private Long pageSize = 10L;

    private Long pageNo = 1L;

    public IPage createPage() {
        return new Page(this.pageNo, this.pageSize);
    }


}
